
import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm'


@Entity({ name: 'user' })
export class UserEntity {
  @PrimaryGeneratedColumn()
  id?: number

  @Column({ comment: "用户名", unique: true })
  username?: string

  @Column({ comment: "密码" })
  password?: string

}

